home *** CD-ROM | disk | FTP | other *** search
- Subject: ODF, CFM-68K, AppleScript Weirdness
- Sent: 9/1/96 8:27 PM
- Received: 9/1/96 8:27 PM
- From: brad@hutchings-software.com (Hutchings, Richard B. "Brad")
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List
-
-
- What a great night to write code!!
-
- This is one weird bug. Took me all evening to figure out how to repeat it.
-
- My 68K project has AppleScriptLib linked in "weak". I'm using CW9 right off
- the CD. If I build the library, then open the part, it crashes (requiring
- restart) when it gets to its first OSA call. However, before it gets there,
- I've already checked the address of "::OSALoad" to make sure CFM loaded in
- the library.
-
- Here's my Build/Test System Info:
-
- 7.5.3, OD 1.1 Debug, Cyberdog 1.1 (with and without), LC 575, 36 MB,
- with and without external drives.
-
- Here are three startup scenarios that affect this bug:
-
- Scenario #1
- Restart Mac
- Open document containing Rapid-I Button
- Cause OSA call to be made
- Crash - Illegal Instruction
-
- Scenario #2
- Restart Mac
- Launch Script Editor Application
- Quit Script Editor
- Open document containing Rapid-I Button
- Cause OSA call to be made
- Success
- Close document
- Crash - illegal instruction
-
- Scenario #3
- Restart Mac
- Launch Script Editor Application
- Open document containing Rapid-I Button
- Cause OSA call to be made
- Success
- Close document
- All is OK.
-
- This suggests to me that CFM-68K from OD 1.1 is having some big problems.
- I've also tried this with CFM-68K from the latest MacOS SDK - same result.
- I've encountered scenario #1 on a PowerBook 170 (8 MB, 24 MB w/VM) and a
- Mac II (20 MB RAM) with Radius Rocket, although I don't have access to
- these machines right now to try scenarios #2 and #3. Thus, I don't think
- it's a problem for a particular machine.
-
- I'm using native exceptions and RTTI for my build. Anybody have any ideas?
-
- Brad
-
- <mailto: "Brad Hutchings" brad@hutchings-software.com>
- <http://www.hutchings-software.com>
-
- Got OpenDoc? Got Cyberdog? Then beta-test Rapid-I Button! Point your dog to
- the Hutchings Software web site for downloading information.